package de.jonasjelten.jcalc.exception;

/**
 *
 * @author michael
 */
public class JGCDException extends JMathematicalException {

    /**
     * Creates a new instance of <code>JDivisionByZeroException</code> without detail message.
     */
    public JGCDException() {
        super("Error: GCD of 0 and 0.");
    }


    /**
     * Constructs an instance of <code>JDivisionByZeroException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public JGCDException(String msg) {
        super(msg);
    }
}
